<?php
if (! isset ( $_SESSION ))
	session_start ();

if (isset ( $_SESSION ['eidSession'] )) {
	unset ( $_SESSION ['eidSession'] );
	if (isset ( $_SESSION ['time'] )) {
		unset ( $_SESSION ['time'] );
	}
	session_destroy ();
}
?>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">

<title>Signin Koreanet</title>

<!-- Nanum Webfont -->
<style>
* {
	font-family: 'NanumGothic' !important;
}
</style>
<script src="http://www.google.com/jsapi"></script>
<script>
 google.load( "webfont", "1" );
 google.setOnLoadCallback(function() {
  WebFont.load({ custom: {
   families: [ "NanumGothic" ],
   urls: [ "http://fontface.kr/NanumGothic/css" ]
  }});
 });
</script>

<!-- Bootstrap core CSS -->
<link href="./dist/css/bootstrap.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="./css/index.css" rel="stylesheet">

</head>

<body>
	<?php //var_dump($_SERVER); //TODO 세션 보안에 대해서 생각해볼 것. 시간/URL 직접 이동 (프레임)?>
	<div class="container">
		<form class="form-signin" role="form" action="./main.php"
			method="post">
			<h2 class="form-signin-heading">
				<img class="logo" src="./img/logo.png" />
			</h2>
			<input name="eid" type="text" class="form-control"
				placeholder="Employee ID" required autofocus> <input name="passwd"
				type="password" class="form-control" placeholder="Password" required>
			<button class="btn btn-lg btn-primary btn-block" type="submit">Sign
				in</button>
		</form>

	</div>
	<!-- /container -->
</body>
</html>